package com.koo.modules.purchase.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-03-03 11:43:30
 */
@Data
@ApiModel("")
@TableName("purchase_receive_order_file")
public class PurchaseReceiveOrderFileEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long fileId;

    @ColumnWidth(11)
    @ExcelProperty("收货单ID")
    @ApiModelProperty(value = "收货单ID")
    private Long receiveId;

    @ColumnWidth(11)
    @ExcelProperty("附件类别：1收货单2发票")
    @ApiModelProperty(value = "附件类别：1收货单2发票")
    private Integer fileType;

    @ColumnWidth(11)
    @ExcelProperty("附件名称")
    @ApiModelProperty(value = "附件名称")
    private String fileName;

    @ColumnWidth(11)
    @ExcelProperty("附件地址")
    @ApiModelProperty(value = "附件地址")
    private String filePath;


}
